package com.score.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

@Data
public class TLeaveRequest {
    @ApiModelProperty("请假条ID")
    @TableId(type = IdType.AUTO)
    private Integer id;
    @ApiModelProperty("学号")
    private String stuNum;
    @ApiModelProperty("账号")
    private String username;
    @ApiModelProperty("班级名称")
    private String className;
    @ApiModelProperty("学院")
    private String college;
    @ApiModelProperty("电话")
    private String phone;
    @ApiModelProperty("班主任名称")
    private String headmaster;
    @ApiModelProperty("班主任电话")
    private String headmasterPhone;
    @ApiModelProperty("去向")
    private String whereabouts;
    @ApiModelProperty("家长电话")
    private String parentPhone;
    @ApiModelProperty("原因")
    private String reason;
    @ApiModelProperty("具体原因")
    private String specificReasons;
    @ApiModelProperty("图片")
    private String picture;
    @ApiModelProperty("请假起始时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date timeOffStart;
    @ApiModelProperty("请假结束时间")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    private Date timeOffEnd;
    @ApiModelProperty("请假天数")
    private int leavedays;
    @ApiModelProperty("班主任审查")
    private String bzrExamine;
    @ApiModelProperty("辅导员审查")
    private String fdyExamine;
    @ApiModelProperty("副书记审查")
    private String fsjExamine;
    @ApiModelProperty("院长审查")
    private String yzExamine;
    @ApiModelProperty("审查状态")
    private String examineState;
    @ApiModelProperty("销假原因")
    private String cancelExplain;
    @ApiModelProperty("销假图片")
    private String cancelPicture;
}
